<div class="saidas form">

	<div class="row">
		<div class="col-md-12">
			<div class="page-header">
				<h1><?php echo __('Registrar Saídas'); ?></h1>
			</div>
		</div>
	</div>



	<div class="row">
		<div class="col-md-3">
			<div class="actions">
				<div class="panel panel-default">
					<div class="panel-heading">Ações</div>
						<div class="panel-body">
							<ul class="nav nav-pills nav-stacked">

								<li><?php echo $this->Html->link(__('<span class="glyphicon glyphicon-list"></span>&nbsp;&nbsp;Listar Saídas'), array('action' => 'index'), array('escape' => false)); ?></li>
								<li><?php echo $this->Html->link(__('<span class="glyphicon glyphicon-list"></span>&nbsp;&nbsp;Ver Caixa'), array('controller' => 'caixas', 'action' => 'index'), array('escape' => false)); ?> </li>
							</ul>
						</div>
					</div>
				</div>			
		</div><!-- end col md 3 -->
		<div class="col-md-9">
			<?php echo $this->Form->create('Saida', array('role' => 'form')); ?>
				<div class="row">
					<div class="form-group col-md-4">
						<?php echo $this->Form->label('valor_retirado', 'Valor Retirado/Sacado');?>
						<?php echo $this->Form->input('valor_retirado', array('label'=>false, 'type' => 'text', 'class' => 'form-control', 'placeholder' => '999.99', 'between' => '<div class="input-group"><span class="input-group-addon">R$</span>', 'after' => '</div>')); ?>
						
					</div>
					<div class="form-group col-md-6">
						<?php echo $this->Form->input('tipo_saida_id', array('label'=>'Tipo de Saída', 'class' => 'form-control', 'empty' => 'Selecione uma opção...'));?>
					</div>
					<div class="form-group col-md-10">
						<?php echo $this->Form->input('informacao_extra', array('label' => 'Informação Extra', 'class' => 'form-control', 'placeholder' => 'Descreva detalhes do que foi retirado do caixa!'));?>
					</div>
					
				</div>	
					<div class="form-group">
						<?php echo $this->Form->submit(__('Salvar'), array('class' => 'btn btn-default')); ?>
					</div>
				

			<?php echo $this->Form->end() ?>

		</div><!-- end col md 12 -->
	</div><!-- end row -->
</div>
